package com.gitee.swsk33.annotationbased.service;

import org.springframework.stereotype.Component;

// 单个类用于定义Bean
@Component
public class ExampleService {

	public void print() {
		System.out.println("Hello Spring Example!");
	}

}